package com.trace.meat.entity;

import java.io.Serializable;

/**
 * (Product)实体类
 *
 * @author makejava
 * @since 2021-06-19 11:17:29
 */
public class Product implements Serializable {
    private static final long serialVersionUID = -53954348993064701L;

    private Integer pid;//产品ID

    private Integer type;//产品类型

    private Double weight;//产品重量

    private Object ptime;//加工时间

    private Integer lastOid;//最后订单号

    private Short state;//状态


    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Object getPtime() {
        return ptime;
    }

    public void setPtime(Object ptime) {
        this.ptime = ptime;
    }

    public Integer getLastOid() {
        return lastOid;
    }

    public void setLastOid(Integer lastOid) {
        this.lastOid = lastOid;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Product{" +
                "pid=" + pid +
                ", type=" + type +
                ", weight=" + weight +
                ", ptime=" + ptime +
                ", lastOid=" + lastOid +
                ", state=" + state +
                '}';
    }
}
